package com.usian.service.impl;

import com.usian.designer.HomeDestination;
import com.usian.mapper.DestinationMapper;
import com.usian.service.DestinationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.print.attribute.standard.Destination;
import java.util.List;

@Service
public class DestinationServiceImpl implements DestinationService {

    @Autowired
    private DestinationMapper destinationMapper;


    @Override
    public List<HomeDestination> getCategories() {
        return destinationMapper.getCategories();
    }
}
